package ym.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import ym.pojo.RepairAppeal;
import java.util.List;

public interface RepairAppealService {
    void add(RepairAppeal repairAppeal);
    void update(RepairAppeal repairAppeal);
    void delete(Integer id);

    RepairAppeal findById(Integer id);

    List<RepairAppeal> findAll();

    Page<RepairAppeal> search(String search, int page, int size);
    Page<RepairAppeal> searchByRepairReportId(Integer repairReportId,String search, int page, int size);
}
